package com.qfedu.aunt.commons.mapper;

import com.qfedu.aunt.commons.pojo.Agent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 经纪人表 Mapper 接口
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Repository
public interface AgentMapper extends BaseMapper<Agent> {
    /**
     * 通过阿姨的id查询这个关联的经纪人的信息
     * @param auntId
     * @return
     */
    List<Agent> findAgentsByAuntId(String auntId);
}
